#ifndef VIDEO_ADJUST_H
#define VIDEO_ADJUST_H

#define NVP_I2C "/dev/i2c-0"

//nvp6324 addr :0x60\0x62\0x64\0x66,(included write/read control bit)
#define NVP1_ADDR 0x32
#define NVP2_ADDR 0x31

#ifdef __cpluscplus
extern "C" {
#endif
//brightness is a signed number -128<-->127,default 0x0;
int video_adjust_brightness(unsigned char video_cnt,char brightness);
char video_read_brightness(unsigned char video_cnt);

//brightness is a unsigned number 0<-->255,default 0x88;
int video_adjust_contrast(unsigned char video_cnt,unsigned char brightness);
unsigned char video_read_contrast(unsigned char video_cnt);

//saturation is a unsigned number 0<-->255,default 0x88;
int video_adjust_saturation(unsigned char video_cnt,unsigned char saturation);
unsigned char video_read_saturation(unsigned char video_cnt);

#ifdef __cpluscplus
}
#endif

#endif // VIDEO_ADJUST_H
